package routers

import (
	"Fblog/controllers"
	"github.com/astaxie/beego"
)

func init() {
	//注册路由
	beego.Router("/", &controllers.IndexController{})

	beego.Include(&controllers.CategoryController{})
	beego.Include(&controllers.TopicController{})
	beego.Include(&controllers.EditorController{})
}
